using System; 
using System.Text; 
using System.Data;
using System.Data.SqlClient;
using System.Data.Common;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration; 
using System.Xml; 
using System.Xml.Serialization;
using SubSonic; 
using SubSonic.Utilities;
namespace LMSData
{
	
	public partial class User : ActiveRecord<User>, IActiveRecord
	{
        [XmlAttribute("FirstName")]
        public string FirstName
        {
            get
            {
                string name = string.Empty;
                if (this.UserProfileRecords().Count > 0)
                {
                    name = this.UserProfileRecords()[0].FirstName;
                }
                return name;
            }
        }
        [XmlAttribute("LastName")]
        public string LastName
        {
            get
            {
                string name = string.Empty;
                if (this.UserProfileRecords().Count > 0)
                {
                    name = this.UserProfileRecords()[0].LastName;
                }
                return name;
            }
        }
	}
}
